package cn.edu.nhic.http;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

/**
 * Created by 13072 on 2024/9/1 19:33
 * @author duweiping
 */
@RestController
@RequestMapping("/nh")
public class HttpDemo {


    @GetMapping("/hello")
    public String getHelloTest() {
        return "hello world";
    }

    @GetMapping("/index")
    public ModelAndView indexTest(){
        return new ModelAndView("debug-example-fixed");
    }



}
